package odds

import (
	"match-spider/util/prop"
	"match-spider/odds/asia"
	"match-spider/odds/europe"
	"match-spider/odds/overunder"
	"match-spider/odds/lastmatch"

	"match-spider/odds/bf"
	"match-spider/odds/asiaOddsDetail"
	"match-spider/odds/live"
	"match-spider/odds/airlive"
	"match-spider/odds/attack"
	"match-spider/odds/europeOddsDetail"
)

func Run()  {
	active:=prop.Get("match","active")

	if active=="lastmatch"{
		lastmatch.Fetch()
	}else if active=="asia"{
		asia.Fetch()
	}else if active=="europe"{
		europe.Fetch()
	}else if active=="overunder"{
		overunder.Fetch()
	}else if active=="bf"{
		bf.Fetch()
	}else if active=="asiaOddsDetail"{
		asiaOddsDetail.Fetch()
	}else if active=="live"{
		live.Fetch()
	}else if active=="airlive"{
		airlive.Fetch()
	}else if active=="attack"{
		attack.Fetch()
	}else if active=="eurpoeOddsDetail"{
		europeOddsDetail.Fetch()
	}
}